package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;

@Data
@TableName("t_address")
public class Address implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer addressid;
    @TableField(value = "city")
    private String city;
    private String street;

    public Address() {
    }

    public Address(Integer addressid, String city, String street) {
        this.addressid = addressid;
        this.city = city;
        this.street = street;
    }
}
